﻿@{
    Layout = null;
}

@*<div>促销页面管理</div>*@


<script src="~/Scripts/MGJJS/Market/PromotionManage.js"></script>



<div class="mtlr15">

    <div class="row">
        <div class="col-lg-7 col-md-7 col-sm-7" style="padding:0">
            <button type="button" class="btn btn-success" onclick="$.MGJ.Common.loadurl(this, '@Url.Action("CreateTemplate", "Market")')">
                <i class="glyphicon glyphicon-plus"></i>
                添加页面模板
            </button>

        </div>
        <div class="col-lg-5 col-md-5 col-sm-5">
            <div class="input-group">
                <input type="text" class="form-control" placeholder="请输入活动名称">
                <span class="input-group-addon">
                    <span class="glyphicon glyphicon-search"></span>
                </span>
                @*<div class="input-group-btn" style="margin-left:1px;">
                    <button type="button" class="btn btn-default" style="border: 1px solid transparent;">
                        更多搜索
                        <span class="caret"></span>
                    </button>
                </div>*@
            </div>
        </div>
    </div>

    <div id="Table">
        <div class="overflow">
            <table class="table table-hover table-bordered">
                <thead>

                    <tr>
                        <th width="15"><input type="checkbox" class="AllClickCheckbox"></th>
                        <th>页面标题</th>
                        <th>二维码</th>
                        <th>修改时间</th>
                        <th>操作</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td width="15"><input type="checkbox" class="AllClickChild"></td>
                        <td>上海诺标有限公司</td>
                        <td>001</td>
                        <td>201</td>
                        <td>
                            <a href="#">编辑</a>
                            <a href="#">预览</a>
                            <a href="#">删除</a>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div id="ShoppingPager"></div>
    </div>
</div>

<script>
    var ColspanNub = $(".table.table-hover.table-bordered").find("tr").children("td").length
    window.User_EmptyHtml = '<tr><td colspan="' + ColspanNub + '"><p class="no-result">无符合条件的数据结果</p></td></tr>';

    $(function () {
        //$.MGJ.UserManager.Ajax_GetUserInfo(1);
    });
</script>








